#include "Cls.h"

namespace xpm {
	Cls::Cls(string name, Cls* superCls): _name(name), _superCls(superCls) {

	}

	string Cls::name() {
		return _name;
	}

	Cls* Cls::superCls() {
		return _superCls;
	}

	void Cls::addDirectTempleteSlot(Slot* slot) {
		_directTempleteSlots.push_back(slot);
	}

	vector<Slot*>& Cls::directTempleteSlots() {
		return _directTempleteSlots;
	}
}